package com.luke.springcloud.inter;

import com.luke.springcloud.entities.CommonResult;
import com.luke.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentServiceFeignFallback implements PaymentServiceFeign{

    @Override
    public CommonResult<Payment> getPaymentById(Long id) {
        return null;
    }

    @Override
    public String testSentinel(String name) {
        return "Sentinel处理Openfeign远程调用容错";
    }
}
